{extend name="Layout/edit" /}
{block name="content"}
<!-- form start -->
<form action="{:url('editSave')}" method="post" class="form-horizontal">
    <div class="box-body">
        <div class="xsui-form-field">
            <label>分页尺寸：</label>
            <input type="text" name="page_size" value="{$data.page_size}" placeholder="姓名"  required="required" />
        </div>
        <div class="xsui-form-field">
            <label>语言：</label>
            {xshtml:select name="lang" items="zh-cn:简体中文;en-us:英语" value="{$data.lang|default=zh-cn}" required="required" /}
        </div>
        {if condition="C('user.themeable')"}
        <div class="xsui-form-field">
            <label>主题样式：</label>
            {xshtml:select name="theme" items="black-tie;blitzer;cupertino;dark-hive;dot-luv;eggplant;excite-bike;flick;hot-sneaks;humanity;le-frog;mint-choc;overcast;pepper-grinder;redmond;smoothness;south-street;start;su-list.php;sunny;swanky-purse;trontastic;ui-darkness;ui-lightness;vader" items_pair="false" value="{$data.theme|default=start}" required="required" /}
        </div>
        {/if}
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
        <button type="button" class="btn btn-default xsui-btn-close-dialog">取消</button>
        <button type="submit" class="btn btn-primary pull-right">保存</button>
        <input type="hidden" name="id" value="{$data.id}"/>
    </div>
    <!-- /.box-footer -->
</form>
{/block}